<?php
/**
 * ExtDatePicker class file
 *
 * @author TrueSoftware B.V. (The Netherlands)
 * @link http://www.ext4yii.com
 * @copyright Copyright 2007-2010 TrueSoftware B.V. all rights reserved.
 * @license http://www.ext4yii.com/license/
 *          EVALUATION VERSION - NOT FOR COMMERCIAL USE OR DISTRIBUTION.
 * @version 0.7.2
 */

class ExtDatePicker extends ExtDatePickerBase
{
    /**
     * Gets the value of ExtJS cancelText property
     * @return String 
     */
    public function getCancelText()
    {
    	return $this->getConfig("canceltext");
    }

    /**
     * Sets the value of ExtJS cancelText property
     * @param String $value 
     */
    public function setCancelText($value)
    {
    	$this->setConfig("canceltext",$value);
    }

    /**
     * Gets the value of ExtJS dayNames property
     * @return Array 
     */
    public function getDayNames()
    {
    	return $this->getConfig("daynames");
    }

    /**
     * Sets the value of ExtJS dayNames property
     * @param Array $value 
     */
    public function setDayNames($value)
    {
    	$this->setConfig("daynames",$value);
    }

    /**
     * Gets the value of ExtJS disabledDates property
     * @return Array 
     */
    public function getDisabledDates()
    {
    	return $this->getConfig("disableddates");
    }

    /**
     * Sets the value of ExtJS disabledDates property
     * @param Array $value 
     */
    public function setDisabledDates($value)
    {
    	$this->setConfig("disableddates",$value);
    }

    /**
     * Gets the value of ExtJS disabledDatesRE property
     * @return RegExp 
     */
    public function getDisabledDatesRE()
    {
    	return $this->getConfig("disableddatesre");
    }

    /**
     * Sets the value of ExtJS disabledDatesRE property
     * @param RegExp $value 
     */
    public function setDisabledDatesRE($value)
    {
    	$this->setConfig("disableddatesre",$value);
    }

    /**
     * Gets the value of ExtJS disabledDatesText property
     * @return String 
     */
    public function getDisabledDatesText()
    {
    	return $this->getConfig("disableddatestext");
    }

    /**
     * Sets the value of ExtJS disabledDatesText property
     * @param String $value 
     */
    public function setDisabledDatesText($value)
    {
    	$this->setConfig("disableddatestext",$value);
    }

    /**
     * Gets the value of ExtJS disabledDays property
     * @return Array 
     */
    public function getDisabledDays()
    {
    	return $this->getConfig("disableddays");
    }

    /**
     * Sets the value of ExtJS disabledDays property
     * @param Array $value 
     */
    public function setDisabledDays($value)
    {
    	$this->setConfig("disableddays",$value);
    }

    /**
     * Gets the value of ExtJS disabledDaysText property
     * @return String 
     */
    public function getDisabledDaysText()
    {
    	return $this->getConfig("disableddaystext");
    }

    /**
     * Sets the value of ExtJS disabledDaysText property
     * @param String $value 
     */
    public function setDisabledDaysText($value)
    {
    	$this->setConfig("disableddaystext",$value);
    }

    /**
     * Gets the value of ExtJS format property
     * @return String 
     */
    public function getFormat()
    {
    	return $this->getConfig("format");
    }

    /**
     * Sets the value of ExtJS format property
     * @param String $value 
     */
    public function setFormat($value)
    {
    	$this->setConfig("format",$value);
    }

    /**
     * Gets the value of ExtJS handler property
     * @return Function 
     */
    public function getHandler()
    {
    	return $this->getConfig("handler");
    }

    /**
     * Sets the value of ExtJS handler property
     * @param Function $value 
     */
    public function setHandler($value)
    {
    	$this->setConfig("handler",$value);
    }

    /**
     * Gets the value of ExtJS maxDate property
     * @return Date 
     */
    public function getMaxDate()
    {
    	return $this->getConfig("maxdate");
    }

    /**
     * Sets the value of ExtJS maxDate property
     * @param Date $value 
     */
    public function setMaxDate($value)
    {
    	$this->setConfig("maxdate",$value);
    }

    /**
     * Gets the value of ExtJS maxText property
     * @return String 
     */
    public function getMaxText()
    {
    	return $this->getConfig("maxtext");
    }

    /**
     * Sets the value of ExtJS maxText property
     * @param String $value 
     */
    public function setMaxText($value)
    {
    	$this->setConfig("maxtext",$value);
    }

    /**
     * Gets the value of ExtJS minDate property
     * @return Date 
     */
    public function getMinDate()
    {
    	return $this->getConfig("mindate");
    }

    /**
     * Sets the value of ExtJS minDate property
     * @param Date $value 
     */
    public function setMinDate($value)
    {
    	$this->setConfig("mindate",$value);
    }

    /**
     * Gets the value of ExtJS minText property
     * @return String 
     */
    public function getMinText()
    {
    	return $this->getConfig("mintext");
    }

    /**
     * Sets the value of ExtJS minText property
     * @param String $value 
     */
    public function setMinText($value)
    {
    	$this->setConfig("mintext",$value);
    }

    /**
     * Gets the value of ExtJS monthNames property
     * @return Array 
     */
    public function getMonthNames()
    {
    	return $this->getConfig("monthnames");
    }

    /**
     * Sets the value of ExtJS monthNames property
     * @param Array $value 
     */
    public function setMonthNames($value)
    {
    	$this->setConfig("monthnames",$value);
    }

    /**
     * Gets the value of ExtJS monthYearText property
     * @return String 
     */
    public function getMonthYearText()
    {
    	return $this->getConfig("monthyeartext");
    }

    /**
     * Sets the value of ExtJS monthYearText property
     * @param String $value 
     */
    public function setMonthYearText($value)
    {
    	$this->setConfig("monthyeartext",$value);
    }

    /**
     * Gets the value of ExtJS nextText property
     * @return String 
     */
    public function getNextText()
    {
    	return $this->getConfig("nexttext");
    }

    /**
     * Sets the value of ExtJS nextText property
     * @param String $value 
     */
    public function setNextText($value)
    {
    	$this->setConfig("nexttext",$value);
    }

    /**
     * Gets the value of ExtJS okText property
     * @return String 
     */
    public function getOkText()
    {
    	return $this->getConfig("oktext");
    }

    /**
     * Sets the value of ExtJS okText property
     * @param String $value 
     */
    public function setOkText($value)
    {
    	$this->setConfig("oktext",$value);
    }

    /**
     * Gets the value of ExtJS prevText property
     * @return String 
     */
    public function getPrevText()
    {
    	return $this->getConfig("prevtext");
    }

    /**
     * Sets the value of ExtJS prevText property
     * @param String $value 
     */
    public function setPrevText($value)
    {
    	$this->setConfig("prevtext",$value);
    }

    /**
     * Gets the value of ExtJS scope property
     * @return Object 
     */
    public function getScope()
    {
    	return $this->getConfig("scope");
    }

    /**
     * Sets the value of ExtJS scope property
     * @param Object $value 
     */
    public function setScope($value)
    {
    	$this->setConfig("scope",$value);
    }

    /**
     * Gets the value of ExtJS showToday property
     * @return Boolean 
     */
    public function getShowToday()
    {
    	return $this->getConfig("showtoday");
    }

    /**
     * Sets the value of ExtJS showToday property
     * @param Boolean $value 
     */
    public function setShowToday($value)
    {
    	$this->setConfig("showtoday",$value);
    }

    /**
     * Gets the value of ExtJS startDay property
     * @return Number 
     */
    public function getStartDay()
    {
    	return $this->getConfig("startday");
    }

    /**
     * Sets the value of ExtJS startDay property
     * @param Number $value 
     */
    public function setStartDay($value)
    {
    	$this->setConfig("startday",$value);
    }

    /**
     * Gets the value of ExtJS todayText property
     * @return String 
     */
    public function getTodayText()
    {
    	return $this->getConfig("todaytext");
    }

    /**
     * Sets the value of ExtJS todayText property
     * @param String $value 
     */
    public function setTodayText($value)
    {
    	$this->setConfig("todaytext",$value);
    }

    /**
     * Gets the value of ExtJS todayTip property
     * @return String 
     */
    public function getTodayTip()
    {
    	return $this->getConfig("todaytip");
    }

    /**
     * Sets the value of ExtJS todayTip property
     * @param String $value 
     */
    public function setTodayTip($value)
    {
    	$this->setConfig("todaytip",$value);
    }

    /**
     * Gets the value of ExtJS value property
     * @return String 
     */
    public function getValue()
    {
    	return $this->getConfig("value");
    }

    /**
     * Sets the value of ExtJS value property
     * @param String $value 
     */
    public function setValue($value)
    {
    	$this->setConfig("value",$value);
    }

    
    public function __construct()
    {
        parent::__construct();
        $this->configmap = array_merge($this->configmap,array(
            'canceltext' => 'cancelText',
            'daynames' => 'dayNames',
            'disableddates' => 'disabledDates',
            'disableddatesre' => 'disabledDatesRE',
            'disableddatestext' => 'disabledDatesText',
            'disableddays' => 'disabledDays',
            'disableddaystext' => 'disabledDaysText',
            'maxdate' => 'maxDate',
            'maxtext' => 'maxText',
            'mindate' => 'minDate',
            'mintext' => 'minText',
            'monthnames' => 'monthNames',
            'monthyeartext' => 'monthYearText',
            'nexttext' => 'nextText',
            'oktext' => 'okText',
            'prevtext' => 'prevText',
            'showtoday' => 'showToday',
            'startday' => 'startDay',
            'todaytext' => 'todayText',
            'todaytip' => 'todayTip'
        ));

        $this->eventtable = array_merge($this->eventtable,array(
            'select' => array('sender','date')
        ));

        $this->jsconfigs = array_merge($this->jsconfigs,array(
            'handler' => true
        ));

        $this->setXType('datepicker');
        $this->setXClass('Ext.DatePicker');
    }    
}
?>